PaymentPlugins\WooCommerce\PPCP\PaymentMethodRegistry S

Total Complexity 45
Dependencies 2
Dependents 8
Total lines 201
Lines of code 132
Logical lines of code 68
Comment lines 34
Methods 18
Properties 1

Methods 18

Method Rating Maintainability Complexity Lines of code
get_product_payment_gateways()
S
60 6 13
get_express_payment_gateways()
S
63 4 11
add_admin_script_dependencies()
S
64 4 9
get_cart_payment_gateways()
S
65 4 9
get_minicart_payment_gateways()
S
65 3 9
add_payment_method_script_dependencies()
S
65 3 9
add_minicart_script_dependencies()
S
65 3 9
get_payment_method_data()
S
61 2 13
get_payment_method()
S
78 2 3
add_checkout_script_dependencies()
S
68 2 7
add_cart_script_dependencies()
S
68 2 7
add_product_script_dependencies()
S
68 2 7
add_express_checkout_script_dependencies()
S
68 2 7
add_payment_method_data()
S
72 2 5
register()
S
80 1 3
has_payment_method()
S
79 1 3
get_active_integrations()
S
74 1 5
add_shop_script_dependencies()
S
79 1 3